package com.thinkingcoder.tccache.core.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CacheEntry<T> {

    private T value;

    private long timestamp; // created timestamp
    private long timeToLive; // alive ttl

}
